//
//  ProjectOnlyTextField.m
//  ppkc2016
//
//  Created by 拼凑的断音 on 16/3/3.
//  Copyright © 2016年 拼凑的断音. All rights reserved.
//

#import "ProjectOnlyTextField.h"

@implementation ProjectOnlyTextField

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        self.returnKeyType = UIReturnKeyDone;
        [self addTarget:self action:@selector(clickDone) forControlEvents:UIControlEventEditingDidEndOnExit];
    }
    return self;
}

-(void)clickDone
{
    [self resignFirstResponder];
}

@end
